import { H2oGoods } from "../../utils/bo";
import { dao } from "../../utils/repository";

// pages/xiawu/xianwu.ts
Component({
  behaviors: ['wx://component-export'],
  options: {styleIsolation: 'apply-shared'},
  data: {
    botMsg:'下拉刷新',
    goodsList:Array<H2oGoods>()
  },
  lifetimes: {
    attached: function () { 
      this.setData({goodsList:dao.getXianWu()})
    }    
  },
  methods:{
    onScroll(_e:any){
    }
  }  
})